package com.beikai.demo01.collection.comparate;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.TimeUnit;

/**
 * Created with IntelliJ IDEA.
 *
 * @author : hanbeikai
 * Date: 2021/5/6 5:34 下午
 * Description: No Description
 */
public class DemoCom {
    public static void main(String[] args) throws InterruptedException {
        List<UserBen> userBens = new ArrayList<>();
        UserBen[] userBens1 = new UserBen[20];
        Arrays.sort(userBens1,new UserNameCom());
        Collections.sort(userBens,new UserNameCom());

        TimeUnit.HOURS.sleep(1);

    }

}

interface DemoCom01{
    public void test1();
}
